import React from 'react';
import {Text} from "react-native";

export default (props) => {
    return (
        <Text style={[{
            fontFamily:'iconfont',
            fontSize: 16,
        },{color: props.color,fontSize: props.size},props.style]}
              onPress={props.onPress}
        >{props.children}</Text>
    )
}
